The cheapest and fastest trains from Barcelona to Madrid
Cheapest price
£31
Average price
£55
Fastest journey
3 h 2 m
Average duration
3 h 2 m
Trains per day
41
Distance
504 km
The best way to find a cheap train ticket from Barcelona to Madrid is to book your journey as far in advance as possible and to avoid travelling at rush hour.
The average ticket from Barcelona to Madrid will cost around £55 if you buy it on the day, but you can find cheap train tickets today for only £31.
Of the 41 trains that leave Barcelona for Madrid every day 41 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
These direct trains cover the 504 km distance in an average of 3 h 2 m but if you time it right, some trains will get you there in just 3 h 2 m .
The slowest trains will take 3 h 2 m and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.
064207:353h30Barcelona Sants11:05Madrid-Puerta de Atocha-Almudena Grandes£311One-way0 changes
060128:453h31Barcelona Sants12:16Madrid-Puerta de Atocha-Almudena Grandes£311One-way0 changes
060807:503h25Barcelona Sants11:15Madrid-Puerta de Atocha-Almudena Grandes£321One-way0 changes
030606:203h02Barcelona Sants9:22Madrid-Puerta de Atocha-Almudena Grandes£331One-way0 changes
030808:253h02Barcelona Sants11:27Madrid-Puerta de Atocha-Almudena Grandes£331One-way0 changes
0317017:253h02Barcelona Sants20:27Madrid-Puerta de Atocha-Almudena Grandes£391One-way0 changes
0318018:253h02Barcelona Sants21:27Madrid-Puerta de Atocha-Almudena Grandes£391One-way0 changes
030707:003h02Barcelona Sants10:02Madrid-Puerta de Atocha-Almudena Grandes£661One-way0 changes
030606:203h02Barcelona Sants9:22Madrid-Puerta de Atocha-Almudena Grandes£331One-way0 changes
0316016:253h02Barcelona Sants19:27Madrid-Puerta de Atocha-Almudena Grandes£921One-way0 changes
Travel Information
Compare coach, train and flight for Barcelona to Madrid
Omio recommends booking the train as it is the most popular option from Barcelona to Madrid among Omio's users. If you are prioritising price take the train with prices starting from £21. For those with little time consider booking a flight which can get you there in 4h 16m. In case you are seeking to minimise your carbon footprint the train is your best bet as it emits only 0.2 - 0.5kg. The ticket price range depends on the travel mode: a train costs an average of £21, and a flight costs an average of £44.
Distance: 504 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
£38 Average Price Cheapest | £52 Average Price | £182 Average Price |
5h 37m Average total duration 5h 7m Onboard + 30m Additional time* | 6h 45m Average total duration 6h 15m Onboard + 30m Additional time* | 7h 16m Average total duration Fastest 4h 16m Onboard + 3h 0m Additional time* |
0.2 - 0.5kg CO2 emissions Lowest | 0.5 - 1.3kg CO2 emissions | 1.5 - 3.0kg CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
Live departures
Barcelona to Madrid train times
The table below shows live departures for Barcelona to Madrid trains for today, Tuesday 14 July. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
03150 | On time 15:25 Barcelona Sants | 3h02 | 18:27 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06360 | On time 15:52 Barcelona Sants | 3h24 | 19:16 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03162 | On time 16:00 Barcelona Sants | 3h44 | 19:44 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03160 | On time 16:25 Barcelona Sants | 3h02 | 19:27 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03172 | On time 16:58 Barcelona Sants | 3h18 | 20:16 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06180 | On time 17:20 Barcelona Sants | 3h02 | 20:22 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03170 | On time 17:25 Barcelona Sants | 3h02 | 20:27 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03182 | On time 18:00 Barcelona Sants | 3h44 | 21:44 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03180 | On time 18:25 Barcelona Sants | 3h02 | 21:27 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03192 | On time 18:40 Barcelona Sants | 3h37 | 22:17 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06190 | On time 18:53 Barcelona Sants | 3h17 | 22:10 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03190 | On time 19:25 Barcelona Sants | 3h02 | 22:27 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03310 | On time 20:00 Barcelona Sants | 3h44 | 23:44 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06610 | Delayed 20:20 Barcelona Sants | 3h28 | 21:48 21:48Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
| Wednesday 15 July | |||||
06060 | On time 5:45 Barcelona Sants | 3h17 | 9:02 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03062 | On time 5:50 Barcelona Sants | 3h50 | 9:40 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03060 | On time 6:20 Barcelona Sants | 3h02 | 9:22 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03302 | On time 6:35 Barcelona Sants | 3h17 | 9:52 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03070 | On time 7:00 Barcelona Sants | 3h02 | 10:02 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06070 | On time 7:05 Barcelona Sants | 3h02 | 10:07 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03662 | On time 7:27 Barcelona Sants | 3h10 | 10:37 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06420 | 7:35 Barcelona Sants | 3h30 | 11:05 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06080 | 7:50 Barcelona Sants | 3h25 | 11:15 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03082 | 8:00 Barcelona Sants | 3h44 | 11:44 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03080 | 8:25 Barcelona Sants | 3h02 | 11:27 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06012 | 8:45 Barcelona Sants | 3h31 | 12:16 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03092 | 9:00 Barcelona Sants | 3h24 | 12:24 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03304 | 9:55 Barcelona Sants | 3h49 | 13:44 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06500 | 10:40 Barcelona Sants | 3h17 | 13:57 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06110 | 10:45 Barcelona Sants | 3h04 | 13:49 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03112 | 11:00 Barcelona Sants | 3h17 | 14:17 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06020 | 11:18 Barcelona Sants | 3h24 | 14:42 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03122 | 12:00 Barcelona Sants | 3h44 | 15:44 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06320 | 12:14 Barcelona Sants | 3h02 | 15:16 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
09730 | 12:50 Barcelona Sants | 3h28 | 16:18 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06014 | 13:13 Barcelona Sants | 3h24 | 16:37 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03130 | 13:27 Barcelona Sants | 3h02 | 16:29 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
06540 | 13:50 Barcelona Sants | 3h02 | 16:52 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
03308 | 14:00 Barcelona Sants | 3h44 | 17:44 Madrid-Puerta de Atocha-Almudena Grandes | 0 changesdirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Barcelona to Madrid by coach, train or flight
Compare coach, train and flight prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.
14 Jul
15 Jul
16 Jul
17 Jul
18 Jul
19 Jul
20 Jul
21 Jul
22 Jul
23 Jul
24 Jul
25 Jul
26 Jul
27 Jul
28 Jul
29 Jul
30 Jul
31 Jul
01 Aug
02 Aug
03 Aug
Why should you book Barcelona to Madrid trains with Omio?
Why book with Omio vs iryo?
- Compare with other providers: On Omio, you can not only buy tickets for iryo, but also compare tickets for the likes of SNCF OUIGO, AVE, Renfe AVLO or Renfe to find the best option for your trip from Barcelona to Madrid.
- Designed for International Travelers: Omio is in your language including 24/7 customer service and offers multiple payment options, including PayPal, credit cards, and bank transfer, in your preferred currency.
- Compare all your options: Omio allows you to compare iryo with all available travel options, which are bus, train and flight to ensure you get the best deal for traveling from Barcelona to Madrid.
Why book with Omio over Wanderu, Rome2rio or Raileurope?
- Compare with other providers: On Omio, you can also compare tickets for the likes of SNCF OUIGO, AVE, Renfe AVLO or Renfe to find the best option for your trip from Barcelona to Madrid.
- Multiple modes of transport: Omio allows you to compare travel options including bus, train and flight to find the ideal travel option from Barcelona to Madrid.
How far in advance should I book train tickets from Barcelona to Madrid?
ReviewsReviews for the rail journey from Barcelona to Madrid

Journey information
Overview: Train from Barcelona to Madrid
Trains from Barcelona to Madrid run on average 37 times per day, taking around 5h 7m. Cheap train tickets for this journey start at £21 but you can travel from only £19 by coach.
There are 37 trains per day. The earliest train runs at 05:40, the last at 21:15. The fastest train covers the 504 km distance in 3h 2m.
Distance 504 km |
Average train duration 5h 7m |
Cheapest ticket price £21 |
Trains per day 37 |
Direct trains 37 |
Fastest train 3h 2m |
First train 5:40 |
Last train 21:15 |
Cheapest Month Sept |
Cheapest Day Sat |
High Season Jul - Sept |
Low Season Jan - Mar |
Busiest Day Tue |
Least Busy Day Sun |
Best time to book 91 days |
Train companies: iryo, SNCF OUIGO, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo from Barcelona to Madrid trainsiryo, SNCF OUIGO, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo trains will get you between Barcelona and Madrid from £19. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
iryo
AVE
Renfe
SNCF OUIGO
Renfe AVLO
Renfe Viajeros
Ouigo
FAQs: Barcelona to Madrid train
Find answers to the most common questions about traveling from Barcelona to Madrid by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Madrid, this guide helps you travel smarter and with confidence.

popular train stations
Important Stations and Airports in Barcelona and Madrid
Most Barcelona to Madrid trains use the Barcelona Sants to Madrid-Puerta de Atocha-Almudena Grandes station pair. Use this guide to compare Barcelona and Madrid train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Which Barcelona station do trains to Madrid leave from?
Getting to Barcelona Sants from Barcelona city centre
Barcelona Sants is 1 km from Barcelona city centre. Public transport options include:
Barcelona Sants train station facilities and services
Barcelona Sants has practical services for this route, including Wifi, Lockers, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental and Information Desk.
Food and drink
Food options include: McDonald’s, Caffe di Fiore, Ars Café, Café de l'Estació, Café de l’Estació Deli, Lavazza, Como, Peter's, Tutti Frutti, Enrique Tomás, & many more
Wi-Fi and ATMs
Hotspots in and near restaurants. ATMs are in the central part of the station.
Tickets and information
The ticket office is open Mon - Sun: 06:00 - 22:00. Information desks are located in various locations inside the station.
Luggage and lost property
Luggage storage is staffed and automatic. Open daily from 05:30 to 21:00. Lost and found is available at the station.
Parking, taxis and toilets
Available at Barcelona Sants: Parking, Taxis, WC.
Bike and car services
Available at Barcelona Sants: Bike Parking, Bike Rental, Car Rental.
Accessibility
Accessibility facilities are available at Barcelona Sants: All areas of the station have full disability access facilities.
Shops, hotels and contact
Nearby hotels include Apartments Eixample, Apartment Guell, Sweet Inn Callao.
Which Madrid station do trains from Barcelona arrive at?
Getting to Madrid-Puerta de Atocha-Almudena Grandes from Madrid city centre
Madrid-Puerta de Atocha-Almudena Grandes is 1 km from Madrid city centre. Public transport options include:
Madrid-Puerta de Atocha-Almudena Grandes train station facilities and services
Madrid-Puerta de Atocha-Almudena Grandes has practical services for this route, including Wifi, Lockers, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental and Information Desk.
Food and drink
Food options include: Passion Food, La Barrila, Enrique Tomás, Pic Nic, Foodissimo!, PureGusto, Burger King
Wi-Fi and ATMs
Free WiFi in the station and on all Renfe trains. ATMs are in various points at the station.
Tickets and information
The ticket office is open Mon - Sun: 10:00 - 20:00. Information desks are on the ground floor of the main concourse.
Luggage and lost property
Luggage storage is open daily from 05:30 to 22:00. Lost and found is available at the station.
Parking, taxis and toilets
Available at Madrid-Puerta de Atocha-Almudena Grandes: Parking, Taxis, WC.
Bike and car services
Available at Madrid-Puerta de Atocha-Almudena Grandes: Bike Parking, Bike Rental, Car Rental.
Accessibility
Accessibility facilities are available at Madrid-Puerta de Atocha-Almudena Grandes: Wheelchair parking, adapted elevators, adapted platforms, lobby shopping area.
Shops, hotels and contact
Nearby hotels include 60 Balconies Urban Stay, Only YOU Hotel Atocha, SLEEP’N Atocha.
More options for your journey from Barcelona to Madrid
Here are some other resources that might have the information you need


